import Cookies from 'js-cookie'
const KEY = 'token_key'

export const getToken = () => {
  return Cookies.get(KEY)
}

export const setToken = val => {
  return Cookies.set(KEY, val)
}

export const removeToken = () => {
  return Cookies.remove(KEY)
}
